<template>
	<view class="p-30">
		<view class="grey m-b-20">{{$util.timeStampTurnTime(messagesDetails.createtime)}}</view>
		<view class="">{{messagesDetails.content}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				messagesDetails:{}
			};
		},
		onLoad(res) {
			this.messDetaliFn(res.id)
		},
		methods:{
			messDetaliFn(id) {
				this.$api.sendRequest({
					url:'/api/user/messagesDetails',
					data:{
						id:id
					},
					success:res=>{
						this.messagesDetails = res.data
					}
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
